/*
 * TransacaoEstoqueComponenteDao.java
 * 
 * Created on 30/09/2007, 11:32:43
 * 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tcc.dao.estoque;

import tcc.dao.AbstractDao;
import tcc.domain.estoque.componente.TransacaoEstoqueComponente;

/**
 *
 * @author Diego
 */
public class TransacaoEstoqueComponenteDao extends AbstractDao {

    /** Creates a new instance of ComponenteAS */
    private TransacaoEstoqueComponenteDao() {
    }
    private static TransacaoEstoqueComponenteDao instance;

    public static synchronized TransacaoEstoqueComponenteDao getInstance() {
        if (instance == null) {
            instance = new TransacaoEstoqueComponenteDao();
        }
        return instance;
    }

    public void save(TransacaoEstoqueComponente o) {
        o.setId(null);
        super.save(o);
    }
    
    
}
